<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>事件对象</title>
    <script src="js22_event_object.js" async></script>
    <style>
        .container{
            border: 1px solid salmon;
        }
        .box{
            height: 100px;
            width:25%;
            float:left;
        }
    </style>
</head>
<body>
    <h1>事件对象</h1>
    <p>通常使用e/evt/event来表示</p>
    <p>e.rarget表示当前产生事件的元素引用</p>
    <div id="container">
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
    </div>
</body>
</html>